home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13361 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: in1.uu.net!tandem!usenet
  2. From: Anatoli Mandelchtam <tolik@tarley_pc.loc201.tandem.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Need help reading sockets
  5. Date: Sun, 24 Mar 1996 22:34:13 -0800
  6. Organization: Tandem Computers Inc., Cupertino, CA
  7. Message-ID: <31563E65.74B1@tarley_pc.loc201.tandem.com>
  8. References: <4j23rh$bnu@ginger.lei.net>
  9. NNTP-Posting-Host: miket_home1.fnord.tandem.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win95; I)
  14.  
  15. Daniel Nakamura wrote:
  16. .> 
  17. .> I have a problem with reading sockets.  I'm currently using the read
  18. .> function to read sockets, then put the information into a buffer.  The
  19. .> problem is that I can't read the socket until there is a cariage return.
  20. .> I'd like to read the socket character by character instead of waiting for
  21. .> the charage return.   Does anyone know how to do it?
  22.  
  23. Strange. I always thought that one reads sockets in buffers and buffer length
  24. mostly depends on how application on the other side writes into its the socket.
  25.  
  26. Could you be more specific describing your problem, please?
  27.  
  28. Regards,
  29.  
  30. Anatoli.
  31.